Skip to content

Implement immutable service revisions#140

Merged
arjunkomath merged 4 commits into
mainfrom
feat/immutable-service-revisions
Jul 13, 2026
Merged

Implement immutable service revisions#140
arjunkomath merged 4 commits into
mainfrom
feat/immutable-service-revisions

Conversation

@techulus-agent

Copy link
Copy Markdown
Collaborator

Summary

  • introduce immutable service_revisions snapshots and bind rollouts and deployments to an exact revision
  • build agent expected state from authoritative revision specs, including deterministic container spec hashes
  • add capability-gated full cutover tooling, fresh-schema constraints, and an operator maintenance runbook
  • harden rollout promotion, rollback, retry cleanup, stateful placement, serverless wake-up, and legacy container recreation
  • add per-action reconciliation backoff and prominent upgrade-required server health reporting

Why

Deployment behavior was derived from mutable live service rows, so editing configuration could change the desired state of already-created deployments. Immutable revisions make the deployed specification explicit and auditable, while keeping rollout and agent reconciliation tied to the same source of truth.

Impact

This is a full switch with no backwards-compatible mixed-agent mode. The release requires the documented maintenance-window cutover and upgraded agents advertising the service_revision_v1 capability. Existing containers are recreated one at a time; images are pulled before removal, but each container has an inherent stop-to-start gap because its static IP is reused.

Validation

  • pnpm vitest run — 118 tests passed
  • pnpm exec tsc --noEmit
  • pnpm build
  • go test ./...
  • generated fresh-install Drizzle DDL and verified composite uniqueness precedes both revision foreign keys
  • parsed both Compose YAML files
  • git diff --check
  • final full-diff self-review completed with no remaining actionable issues

@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 6f52309.

@arjunkomath arjunkomath marked this pull request as ready for review July 13, 2026 22:00
@arjunkomath arjunkomath enabled auto-merge July 13, 2026 22:03
@arjunkomath arjunkomath merged commit 77da97a into main Jul 13, 2026
9 checks passed
@arjunkomath arjunkomath deleted the feat/immutable-service-revisions branch July 13, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants